package com.tar.system.sys.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.tar.commons.entity.BaseModel;

@Entity @Table(name="tar_sys_account")
public class Account extends BaseModel {

	private String name ;
	
	private Double money = 0.0d ;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	@Override
	public String toString() {
		return "Account [name=" + name + ", money=" + money + "]";
	}
	
}
